/**
 *    Copyright 2009 Seth Albnaese
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.aquiferserver.client.flex 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Seth Albanese
	 * @version $Id: AquiferClientEvent.as 24 2009-05-11 13:27:21Z salbanese0080@gmail.com $
	 */
	public class AquiferClientEvent extends Event
	{
		
		public static var DEFAULT_NAME:String = "org.aquiferserver.client.flex.AquiferClientEvent";
		
		public static var ON_DATA_RECIEVED:String = "onDataRecieved";
		public static var ON_CONNECT:String = "onConnect";
		public static var ON_DISCONNECT:String = "onDisconnect";
		public static var ON_STATE_CHANGE:String = "clientStateChange";
		public static var ON_PEER_CONNECT:String = "onPeerConnect";
		public static var ON_PEER_DISCONNECT:String = "onPeerDisconnect";
		
		public var params:Object;
		
		public function AquiferClientEvent( type:String, params:Object = "null", bubbles:Boolean = false, cancelable:Boolean = false  ) 
		{
			super( type, bubbles, cancelable );		
			this.params = params;
		}
		
	}
	
}